package com.ez.supervise.model.biz;

import com.ez.supervise.model.base.BaseEntity;
 

/**
 * 消息表，考核责任部门和考核部门之间的通信。包括：批示，督办，通知等。
 * 
 */
public class Message extends BaseEntity {

    private static final long serialVersionUID = 5416095279074748372L;

    private Long sendManId;//发送消息人
    private Long sendOrgId;//发送消息部门
    private Long replyManId;//回复消息人
    private Long replyOrgId;//回复消息部门
    private String title;// 标题 (eg:督查通知单)
    private String content;//消息内容
    private Long parentId; //主消息(源消息)
    private String msgType;// 消息类型： approve：批示，notic：通知，urge：督办
    private String status;// 状态：new：新，read：已读

    public static final String MESSAGE_TYPE_APPROVE = "approve";// 批示
    public static final String MESSAGE_TYPE_NOTIC = "notic";// 通知
    public static final String MESSAGE_TYPE_URGE = "urge";// 督办
    public static final String MESSAGE_STATUS_NEW = "new";// 新建
    public static final String TMESSAGE_STATUS_READ = "read";// 已读

    public Long getSendManId() {
	return sendManId;
    }

    public void setSendManId(Long sendManId) {
	this.sendManId = sendManId;
    }

    public Long getSendOrgId() {
	return sendOrgId;
    }

    public void setSendOrgId(Long sendOrgId) {
	this.sendOrgId = sendOrgId;
    }

    public Long getReplyManId() {
	return replyManId;
    }

    public void setReplyManId(Long replyManId) {
	this.replyManId = replyManId;
    }

    public Long getReplyOrgId() {
	return replyOrgId;
    }

    public void setReplyOrgId(Long replyOrgId) {
	this.replyOrgId = replyOrgId;
    }

    public String getTitle() {
	return title;
    }

    public void setTitle(String title) {
	this.title = title;
    }

    public String getContent() {
	return content;
    }

    public void setContent(String content) {
	this.content = content;
    }

    public Long getParentId() {
	return parentId;
    }

    public void setParentId(Long parentId) {
	this.parentId = parentId;
    }

    public String getMsgType() {
	return msgType;
    }

    public void setMsgType(String msgType) {
	this.msgType = msgType;
    }

    public String getStatus() {
	return status;
    }

    public void setStatus(String status) {
	this.status = status;
    }

}
